﻿<local:ElementMenuItem
    xmlns:s="http://schemas.microsoft.com/surface/2008"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:Surfium"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	
	x:Class="Surfium.MyMenuImageItem"
	x:Name="UserControl"
    mc:Ignorable="d"
    >

    <local:ElementMenuItem.Resources>
        <SolidColorBrush x:Key="BlackAlphaBrush" Color="#99000000"/>


        <RadialGradientBrush x:Key="DarkTarge">

            <GradientStop Color="#00000000" Offset="0.781"/>
            <GradientStop Color="#33003AFF" Offset="0.781"/>
        </RadialGradientBrush>

    </local:ElementMenuItem.Resources>

    <local:ElementMenuItem.Header>

        <Border  x:Name="inner_image_cont" Margin="-1,1,1,-1.001" BorderBrush="{DynamicResource BlackAlphaBrush}"  Background="{DynamicResource BlackAlphaBrush}" BorderThickness="2" CornerRadius="2" Padding="0">
			
            <StackPanel><Image x:Name="inner_image"/>
                <TextBlock x:Name="inner_label" TextWrapping="Wrap" HorizontalAlignment="Left" FontFamily="Fonts/#Segoe UI" FontSize="9.333" FontWeight="Normal" Foreground="#CCFFFFFF"/>
            </StackPanel>
        </Border>
    </local:ElementMenuItem.Header>

</local:ElementMenuItem>